import { createApp } from 'vue'
import { createPinia } from 'pinia'
import plugin from 'pinia-plugin-persistedstate'

// 引入 amfe-flexible
// import 'amfe-flexible'

// Vant 引入函数组件的样式
import 'vant/es/toast/style'
import 'vant/es/notify/style'

import App from './App.vue'
import router from './router'

const app = createApp(App)
const pinia = createPinia()
pinia.use(plugin)

app.use(pinia)
app.use(router)

app.mount('#app')
